<include file="Public:header1" />
<div id="content">
        <div class="container-fluid">
        <div class="row-fluid">
          <div class="span12">
            <div class="widget-box">
              <div class="widget-title">
                <span class="icon"> <i class="icon-th"></i></span>
                <h5>宝贝列表</h5>
              </div>
                    <div class="widget-content nopadding">
                      <div class="dataTables_wrapper">
                        <table id="table" class="table table-bordered">
                    <tbody>
                      <tr class="table_header">
                        <th>序号</th>
                        <th>宝贝名称</th>
                        <th>所属类目</th>
                        <th>价格</th>
                        <th>联系方式</th>
                        <th>交易地点</th>
                        <th>宝贝描述</th>
                        <th>发布日期</th>
                        <th>操作</th>
                      </tr>
                    </tbody>
                    <tbody>
                      <foreach name="babylist" item="vo" >
                        <tr>
                          <td>{$vo.goodsid}</td>
                          <td>{$vo.babyname}</td>
                          <td>{$vo.category}</td>
                          <td>￥{$vo.babymoney}</td>
                          <td>{$vo.phone}</td>
                          <td>{$vo.address}</td>
                          <td>{$vo.babycont}</td>
                          <td>{$vo.day|date='Y-m-d',###}</td>
                          <td>
                            <p class="opr">
                              <span><i class="icon-pencil"></i><a href="/User/babylist_edit?id={$vo.goodsid}" >编辑</a></span>
                              <span><i class="icon-pencil"></i><a href="/User/babylist_drop?id={$vo.goodsid}">删除</a></span>
                            </p>
                          </td>
                        </tr>
                      </foreach>
                    </tbody>
                        </table>
                      </div>
                      {$page}
                    </div>
            </div>
          </div>
        </div>
      </div>
</div>
<div class="row-fluid">
  <div id="footer" class="span12"> 2014 &copy; am项目</div>
</div>
<script src="__PUBLIC__/Matrix/js/jquery.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/bootstrap.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/matrix.js"></script>
</body>
</html>